import { default as request, cloud } from '@/framework/utils/request'

export default ({
  // 查询当前被授权的管理员组父级可授权功能和管理功能
  getParentGroupFunction(params) {
    return request({
      url: `${cloud.permission}/managerGroup/getParentGroupFunction`,
      method: 'get',
      params: {
        groupId: params.groupId,
        relType: params.relType
      }
    })
  }
})
